<template>
    <div class="box">
        <div class="title">我们的产品</div>
    </div>
</template>
<script>
    export default {
        name: "TitleNav"
    }
</script>
<style scoped>
    .box {
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;

        /* border: 1px solid red; */
    }

    .body-box .title {
        width: 150px;
        /* border: 1px solid red; */
        height: 50px;
        text-align: center;
        line-height: 50px;
        font-size: 20px;
        font-weight: 600;
        position: relative;
    }

    .body-box .title::after {
        position: absolute;
        content: "";
        display: block;
        width: 100%;
        height: 3px;
        background: #06f;
        border-radius: 3px;
        top: 40px;
        left: 0;
    }
</style>